﻿<%@ Page Title="Temasek Polytechnic ONLeave System" Language="C#" MasterPageFile="~/Resources/TPLOAMPage.Master"
    AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="TPLOAWebClient._default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="navbarPHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="sectionTitlePHolder" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="mainContentPHolder" runat="server">
    <table style="margin: auto">
        <tr>
            <td colspan="2">
                <asp:Label ID="statusLbl" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <b>Username </b>
            </td>
            <td>
                <asp:TextBox ID="usernameTbx" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="usernameTbx"
                    runat="server" ErrorMessage="Please enter an username." Display="Dynamic"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <b>Password </b>
            </td>
            <td>
                <asp:TextBox ID="passwordTbx" TextMode="Password" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="passwordTbx"
                    runat="server" ErrorMessage="Please enter a password." Display="Dynamic"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <center>
                    <asp:Button ID="loginBtn" runat="server" Text="Login" OnClick="loginBtn_Click" CssClass="btnCSS" /></center>
            </td>
        </tr>
    </table>
</asp:Content>
